package com.example.backblog.repository.blog;

import com.example.backblog.entity.blog.Comment;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface CommentRepository extends JpaRepository<Comment, Long> {
    List<Comment> findAllByBlogIdEquals(Long blogId);
}